package pers.zxk.jlytnews.entity;

/**
 * 菜品
 */
public class Food {
    private int id;//编号
    private int type;//菜品类型
    private String name;//菜品名称
    private String image;//图片地址
    private String description;//菜品描述
    private String remarks;//备注

    public Food() {
    }

    public Food(String name, int type, String image, String description, String remarks) {
        this.name = name;
        this.type = type;
        this.image = image;
        this.description = description;
        this.remarks = remarks;
    }

    public Food(int id, String name, int type, String image, String description, String remarks) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.image = image;
        this.description = description;
        this.remarks = remarks;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", description='" + description + '\'' +
                ", type=" + type +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
